SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55842: An ODS PDF TEXT= statement might generate a "Read Access Violation" error

DetailsCodeAboutRate It

The following error messages might be generated if an ODS TEXT= or ODS PDF TEXT= statement is used to write a text string to the ODS PDF destination in which the BACKGROUNDIMAGE, POSTIMAGE, or PREIMAGE style attributes are used to insert one or more images:

ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
 
The SAS task name is [OBJECT_EXECUTIVE]
ERROR:  Read Access Violation OBJECT_EXECUTIVE

Your SAS® session terminates abnormally when this occurs.

The problem occurs in one of the following scenarios:


  • The ACTIVEX or ACTXIMG device driver is in effect.

    The problem is more likely to occur in a SAS session that is started using SAS® Enterprise Guide®, where the ACTIVEX device driver is the default.

    To circumvent the problem, use the SASPRTC device driver by inserting the following statement before the ODS PDF FILE= statement:

    goptions device=sasprtc;
    

  • The ORIENTATION= system option is used to change the orientation of a page inside the PDF file.

    To circumvent the problem in SAS® 9.3, either remove the image or leave the orientation at its original setting.

    To circumvent the problem in SAS® 9.4, change the ODS PDF TEXT= or ODS TEXT= code to use PROC ODSTEXT. Sample code to illustrate this is shown on the Full Code tab.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.3 TS1M09.4 TS1M3
Z649.3 TS1M09.4 TS1M3
Microsoft® Windows® for x649.3 TS1M09.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.3 TS1M0
Microsoft Windows Server 2003 for x649.3 TS1M0
Microsoft Windows Server 20089.3 TS1M09.4 TS1M3
Microsoft Windows Server 2008 R29.3 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x649.3 TS1M09.4 TS1M3
Microsoft Windows XP Professional9.3 TS1M0
Windows 7 Enterprise 32 bit9.3 TS1M09.4 TS1M3
Windows 7 Enterprise x649.3 TS1M09.4 TS1M3
Windows 7 Home Premium 32 bit9.3 TS1M09.4 TS1M3
Windows 7 Home Premium x649.3 TS1M09.4 TS1M3
Windows 7 Professional 32 bit9.3 TS1M09.4 TS1M3
Windows 7 Professional x649.3 TS1M09.4 TS1M3
Windows 7 Ultimate 32 bit9.3 TS1M09.4 TS1M3
Windows 7 Ultimate x649.3 TS1M09.4 TS1M3
Windows Vista9.3 TS1M0
Windows Vista for x649.3 TS1M0
64-bit Enabled AIX9.3 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.3 TS1M09.4 TS1M3
64-bit Enabled Solaris9.3 TS1M09.4 TS1M3
HP-UX IPF9.3 TS1M09.4 TS1M3
Linux9.3 TS1M09.4 TS1M3
Linux for x649.3 TS1M09.4 TS1M3
Solaris for x649.3 TS1M09.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.